-- Project: Parallaxing BG Test
-- Description:
--
-- Version: 1.0
-- Managed with http://CoronaProjectManager.com
--
-- Copyright 2012 . All Rights Reserved.
---- cpmgen main.lua


local sprite = require("sprite")

local physics = require("physics")
physics.start()

display.setStatusBar(display.HiddenStatusBar)
local bgMain = display.newImage("bg_LightBlue_Solid.png")require("ParallaxingBG")local clouds1 = ParallaxingBG:new("bg_Clouds1.png", .5)local clouds2 = ParallaxingBG:new("bg_Clouds2.png", 1)local bgMountains = ParallaxingBG:new("bg_Mountains.png", -1)local fg1 = ParallaxingBG:new("fg_Ground_Grass.png", -3)function update()	clouds1.update()	clouds2.update()	bgMountains.update()	fg1.update()endlocal gameTimer1 = timer.performWithDelay ( 10, update, -1 )